package service;

import dao.UserDAO;
import pojo.UserDO;

public interface UserService {
    UserDO getByUsernameAndPsw(String username, String psw);


    void savemoney(int id, double money);

    void getmoney(int id, double money) throws Exception;

    void modify(int id, String oldpsw, String newpsw, String repsw) throws Exception;

    void trans(int loginid, String othername, double balance) throws Exception;

}
